package com.fzkj.regex;

import java.util.regex.Pattern;

/**
 * @DESCRIPTION: TODO
 * @AUTHOR: AnotherOne
 * @DATE: 2021/10/12 9:18
 */
public class RegexTest {

    public static void main(String[] args) {
        String regex = "[+-]?[0-9,]*\\.?[0-9]*[E]?[-+]?[0-9]*[%]?$";
        System.out.println(Pattern.matches(regex, "123"));
    }

}
